#!/usr/bin/env python3
"""
OpenBMC D-Bus接口分析工具启动脚本

使用示例:
    python analyze_dbus.py --help
    python analyze_dbus.py --phosphor-path ./phosphor-dbus-interfaces --output interfaces.xlsx
"""

import sys
import os
from pathlib import Path

# 添加分析器模块路径
current_dir = Path(__file__).parent
analyzer_path = current_dir / "dbus_interface_analyzer" / "src"
sys.path.insert(0, str(analyzer_path))

# 导入主模块
from main import main

if __name__ == '__main__':
    main()
